package com.rykj.qxj.test.xtest;

import java.util.HashSet;
import java.util.Set;

public class SetAdd {
	public static void main(String[] args) {
		
		Set<String> updateName=new HashSet<String>();
		updateName.add("name");
		updateName.add("age");
		
		Set<String> whereName=new HashSet<String>();
		whereName.add("id");
		whereName.add("age");
		updateName.addAll(whereName);
		
		for (String string : whereName) {
			System.out.println(string);
			
		}
		System.out.println("================");
		for (String string : updateName) {
			System.out.println(string);
			
		}
		
		
	}

}
